<template>
	<view>
		<web-view :fullscreen="true" id="myWebview" :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		name:'Agreement',
		data() {
			return {
				url:'',
			};
		},
		methods:{
			// 初始化地址
			initUrl(){
				let AgreementURL = uni.getStorageSync('AgreementURL');
				this.url = AgreementURL;
			}
		},
		created() {
			this.initUrl();
		}
	}
</script>

<style lang="scss">

</style>
